{extend name='admin@public/content'}

{block name="button"}
{if auth("$classuri/add")}
<button data-open='{:url("$classuri/export")}' data-title="导出EXCEL" class='layui-btn layui-btn-sm layui-btn-primary'>导出EXCEL</button>
{/if}
{/block}

{block name="content"}
<!-- 表单搜索 开始 -->
<form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get">

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">手机号码</label>
        <div class="layui-input-inline">
            <input name="name" value="{$Think.get.name}" placeholder="输入手机号码" class="layui-input">
        </div>
    </div>

    <!--{if !empty($city_list)}-->
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">选择城市</label>
        <div class="layui-input-inline">
            <select name="city_id" lay-search>
                <option value="">所有</option>
                {foreach $city_list as $key=>$city}
                <!--{if $Think.get.city_id eq $key}-->
                <option selected="selected" value="{$key}">{$city}</option>
                <!--{else}-->
                <option value="{$key}">{$city}</option>
                <!--{/if}-->
                {/foreach}
            </select>
        </div>
    </div>
    <!--{/if}-->

    <div class="layui-form-item layui-inline">
        <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
    </div>

</form>
<!-- 表单搜索 结束 -->

<form onsubmit="return false;" data-auto="" method="POST">
    <input type="hidden" value="resort" name="action"/>
    <table class="layui-table notevent" lay-skin="line">
        <thead>
            <tr>
                <th class='list-table-check-td'>
                    <input data-none-auto="" data-check-target='.list-check-box' type='checkbox'/>
                </th>
                <th class='text-center w60'>ID</th>
                <th class='text-left'>昵称</th>
                <th class='text-left'>姓名</th>
                <th class='text-left w96'>性别</th>
                <th class='text-center w150'>手机号</th>
                <th class='text-left w200'>身份证</th>
                <th class='text-left w150'>注册时间</th>
                <th class='text-left w72'>状态</th>
                <!--<th class='text-center w120'>操作</th>-->
            </tr>
        </thead>
        <tbody>
        	{if isset($list)}
            {foreach $list as $key=>$vo}
            <tr>
                <td class='list-table-check-td'>
                    <input class="list-check-box" value='{$vo.id}' type='checkbox'/>
                </td>
                <td class='text-center'>{$vo.id}</td>
                <td class='text-left'>{$vo.nick_name}</td>
                <td class='text-left'>{$vo.real_name}</td>
                <td class='text-left'>{$vo.sex}</td>
                <td class='text-center'>{$vo.mobile}</td>
                <td class='text-left'>{$vo.identity_card}</td>
                <td class='text-left'>{$vo.create_time|date="Y-m-d H:i"}</td>
                <td class='text-left'>{$vo.status_txt}</td>
                <!--<td class='text-center nowrap'>-->
                    <!--{if auth("$classuri/edit")}-->
                    <!--<a data-open='{:url("$classuri/edit")}?id={$vo.id}' href="javascript:void(0)">编辑</a>-->
                    <!--{/if}-->
                    <!--{if auth("$classuri/del")}-->
                    <!--<span class="text-explode">|</span>-->
                    <!--<a data-update="{$vo.id}" data-field='delete' data-action='{:url("$classuri/del")}' href="javascript:void(0)">屏蔽</a>-->
                    <!--{/if}-->
                <!--</td>-->
            </tr>
            {/foreach}
            {/if}
        </tbody>
    </table>
    {if isset($page)}<p>{$page|raw}</p>{/if}
</form>
{/block}